
<template>
   <div class="person">
     ???
   </div>
</template>
<!--TS 初始-->
<script lang="ts" setup name="Person">  //生效需要引入外部插件import VueSetupExtend  from 'vite-plugin-vue-setup-extend'
import {type PersonInter,type Persons} from "@/type";
// let person:PersonInter={id:'dada1ewa',name:'test',age:20}
let personList:Persons=[
 {id:'dada1ewa',name:'张三',age:20},
 {id:'dada1ewa',name:'李四',age:10},
 {id:'dada1ewa',name:'王五',age:2}

]


</script>
<style scoped>
button{
  margin: 5px;
}
body{
  background-color: pink;
}
*{
  font-size: 30px;
  display: flex;
}
</style>